Telegram Group Search
سلام به همه امروز سورس راه hotspot برای #ESP8266 براتون اماده کردم.
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>

//SSID and Password to your ESP Access Point
const char* ssid = "ESPWebServer";
const char* password = "12345678";

ESP8266WebServer server(80); //Server on port 80

//==============================================================
// This rutine is exicuted when you open its IP in browser
//==============================================================
void handleRoot() {
server.send(200, "text/plain", "hello from esp8266!");
}

//===============================================================
// SETUP
//===============================================================
void setup(void){
Serial.begin(9600);
Serial.println("");
WiFi.mode(WIFI_AP); //Only Access point
WiFi.softAP(ssid, password); //Start HOTspot removing password will disable security

IPAddress myIP = WiFi.softAPIP(); //Get IP address
Serial.print("HotSpt IP:");
Serial.println(myIP);

server.on("/", handleRoot); //Which routine to handle at root location

server.begin(); //Start server
Serial.println("HTTP server started");
}
//===============================================================
// LOOP
//===============================================================
void loop(void){
server.handleClient(); //Handle client requests
}
بعد از ران کردن این کد esp در سریال مانیتورینگ به شما یک ip خواهد داد که با وارد کردن ان در مرورگر خود قادر به مشاهده ی webserver راه اندازی شده توس esp در گوشی و یا سیستم خود هستید.


🌺🌺 با تشکر از مهندس
@MehdiYasinzade
Recent Trends and Advances in Wireless and IoT-enabled Networks

🌟 2019
EAI_Springer_Innovations_in_Communication.pdf
8.3 MB
Recent Trends and Advances in Wireless and IoT-enabled Networks

🌟 2019
سلام به همه یک سایت پیدا کردم برای اتصال با پروتکل UDP که پهنای باند زیادی در اختیار کاربر برای انتقال تصویر و فیلم و داده و...



UDP — ESP8266 Arduino Core documentation
https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/udp-examples.html

❇️ @micropython_iot
MQTT Essentials - A Lightweight IoT Protocol

پروتکل MQTT

❇️ @micropython_iot
Gaston_C_Hillar_MQTT_Essentials.pdf
8.9 MB
MQTT Essentials - A Lightweight IoT Protocol

پروتکل MQTT

❇️ @micropython_iot
Forwarded from 🐍 Python & Raspberry 🐍 (فرهاد ناصری زاده)
🔴 گروه پایتون

@python_ai

🔴 گروه رزبری پای

@raspberry_micro

🔴 گروه رمزنگاری

@pycrypto

🔴 گروه بات تلگرام
@pyapi

🔴 گروه زبان سی،میکروکنترلر، fpga

@micro_fpga

🔴 گروه خرید و فروش قطعات الکترونیکی

@ElectronicsFreemarket

🔴 کانال زبان سی و میکروکنترلر

@c_micro

🔴 کانال میکروپایتون و اینترنت اشیا

@micropython_iot

🔴 کانال پردازش سیگنال و هوش مصنوعی

@ai_dsp

🔴 کانال آموزش پایتون و رزبری پای

@raspberry_python

🔴 مباحث متفرقه گروه های تخصصی

@BlindSpots
Forwarded from Deleted Account
MicroPython Programming with ESP32 and ESP8266 2019 جدید
Rui_Santos,_Sara_Santos_MicroPython.pdf
61.4 MB
MicroPython Programming with ESP32 and ESP8266

آموزش میکروپایتون و esp8266
🌟🌟 2019

@MICROPYTHON_IOT
Pir motion sensor


const int ledPin= 13;
const int inputPin= 2;

void setup(){
pinMode(ledPin, OUTPUT);
pinMode(inputPin, INPUT);
}

void loop(){
int value= digitalRead(inputPin);

if (value == HIGH)
{
digitalWrite(ledPin, HIGH);
delay(60000);
digitalWrite(ledPin, LOW);
}
else
{
digitalWrite(ledPin, LOW);
}
}
#include <Wire.h>

void setup() { Wire.begin(); //creates a Wire object

// set I/O pins to outputs
Wire.beginTransmission(0x20); //begins talking to the slave device
Wire.write(0x00); //selects the IODIRA register
Wire.write(0x00); //this sets all port A pins to outputs
Wire.endTransmission(); //stops talking to device
Wire.beginTransmission(0x20);//begins talking again to slave device
Wire.write(0x01); //selects the IODIRB register
Wire.write(0x00); // sets all port B pins to outputs
Wire.endTransmission(); //ends communication with slave device
}

void loop()
{
Wire.beginTransmission(0x20); //starts talking to slave device
Wire.write(0x12); //selects the GPIOA pins
Wire.write(00000011); // turns on pins 0 and 1 of GPIOA
Wire.endTransmission(); //ends communication with the device
Wire.beginTransmission(0x20); //starts talking to slave device
Wire.write(0x13); //selects the GPIOB pins
Wire.write(00000001); //turns on pin 0 of GPIOA
Wire.endTransmission();//ends communication with the device
}
سلام به همه ي دوستان ي مدته ميخوام ي پيام بزار براي اون اشخاصي ك مثله خودم كلي براي اتصال nodemcuيا ماژول واي فاي به نرم افزار وقت گذاشتن و راه مناسبي پيدا نكردن يا روشش رو نتونستن پيدا كنن.
براي اين كار كافيه يه برنامه ي كلاينت يا سرور با يكي از پروتكل ها مثله httpيا tcpيا udpرو روي ماژول پيدا سازي كنيد بعد با ترمينال هايي مثله puttyيا برنامه هايي مثله postman به ماژول دستور بفرستيد.
بعد از اينكه مطمعن شدين برنامه ي ماژول درست كار ميكنه حالا نوبت پياده سازي كلاينت يا سرور خودتون هست شما ميتونيد با ي زبون برنامه نويسي سمت كلايت يا سرور رو به راحتيييي پياده كنيد😁
IoT and Analytics for Agriculture
اینترنت اشیا برای کشاورزی انتشارات اشپرینگر

🌟🌟 2020 🌟🌟

@micropython_iot
Studies_in_Big_Data_63_Prasant_Kumar.pdf
8.1 MB
IoT and Analytics for Agriculture
اینترنت اشیا برای کشاورزی انتشارات اشپرینگر

🌟🌟 2020 🌟🌟

@micropython_iot
Energy Conservation for IoT Devices: Concepts, Paradigms and Solutions

2019

انرژی مصرفی برای اینترنت اشیا

@micropython_iot
Studies_in_Systems,_Decision_and.pdf
10.3 MB
Energy Conservation for IoT Devices: Concepts, Paradigms and Solutions

2019

انرژی مصرفی برای اینترنت اشیا

@micropython_iot
Connect your Car to the Cloud for Engine Diagnosis via IoT 👇

@micropython_iot
2025/06/16 19:13:32
Back to Top
HTML Embed Code: